﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KgUtils.Wpf.BaseClasses
{
    public interface IBusiness<TEntityBE> where TEntityBE : BaseBE<TEntityBE>, IEntity
    {
        List<TEntityBE> ObtenirDonnees(IEntity param = null);
        bool Sauvegarder(TEntityBE param);
        TEntityBE RechercherParId(object idEntity);
        bool SauvegarderListeEntites(List<TEntityBE> listToSave);
    }
}
